import request from "./request";


/**
 * @description 车辆服务API 
 */

//获取品牌数据
export const getBrand = (isLoding=false)=> request({
	url:'/earthwork/business/carmodelbrand',
	method:'get',
},isLoding)

//获取能源类型数据---by品牌
export const getType = (data,isLoding=false)=> request({
	url:'/earthwork/business/carmodelbybrand',
	method:'get',
	data
},isLoding)

//获取型号---by品牌+类型
export const getModel = (data,isLoding=false)=> request({
	url:'/earthwork/business/carmodellist',
	method:'get',
	data
},isLoding)


//提交车辆信息表单
export const addCarmodelUser = (data,isLoding=false)=> request({
	url:'/earthwork/business/addCarmodelUser',
	method:'post',
	data
},isLoding)

